package it.unibz.easytravel.server;

import org.mortbay.jetty.Server;
import org.mortbay.jetty.servlet.Context;
import org.mortbay.jetty.servlet.ServletHolder;

public class EasyTravelServer {

	public static void main(String[] args) throws Exception {
		Server server = new Server(8080);
		Context context = new Context(server, "/", Context.SESSIONS);
		context.addServlet(new ServletHolder(new EasyTravelServlet()), "/*");
		server.start();
		server.join();
	}

}
